package one.stand.fallback;

import com.jmp.feign.UserFegin;
import one.stand.model.ResultModel;
import one.stand.request.*;
import one.stand.response.CompanyRecruitResponse;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 */
@Component
public class UserFallBack implements UserFegin {

    @Override
    public ResultModel<Boolean> updateCard(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel addCollection(CollectionRequest collectionRequest) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel delCollection(CollectionRequest collectionRequest) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getCollection(CollectionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getCompanyAllInfo(CompanyRequest companyRequest) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getWebsiteInfo(WebsiteRequest websiteRequest) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<CompanyRecruitResponse>> getCompanyRecruit(CompanyRecruitRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel shopAddCollection(CollectionRequest collectionRequest) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel saveOfficialApply(OfficialApplyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel saveOfficialContact(OfficialContactRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel saveOfficialFrom(OfficialFromRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Integer> addGoodsForwardRecord(GoodsForwardRecordRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> validGoodsForwardRecord(GoodsForwardRecordRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> addDynamicForwardRecord(DynamicForwardRecordRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectRoyaltyRecord(RoyaltyRecordRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> doCash(RoyaltyRecordRequest request) {
        return ResultModel.faultTolerant();
    }
}
